import 'dart:core';

class ProductBean extends Object {
  String title;

  String content;

  String date;

  ProductBean(this.title, this.content, this.date);

  factory ProductBean.fromJson(Map<String, dynamic> srcJson) =>
      _$ProductBeanFromJson(srcJson);

  Map<String, dynamic> toJson() => _$ProductBeanToJson(this);
}

ProductBean _$ProductBeanFromJson(Map<String, dynamic> json) => ProductBean(
      json['title'] as String,
      json['content'] as String,
      json['date'] as String,
    );

Map<String, dynamic> _$ProductBeanToJson(ProductBean instance) =>
    <String, dynamic>{
      'title': instance.title,
      'content': instance.content,
      'date': instance.date,
    };
